package introToJava;

import java.util.Scanner;

public class zad4 {

	public static void main(String[] args) {
		Scanner input = new Scanner (System.in);
		   System.out.print("a :");	
		int a = input.nextInt();
		   System.out.print("b :");
	 	int b = input.nextInt();
	 	int c = 0;
	    	System.out.print("Numbers: ");
		for(int i = a; i <= b; i++)
	    if(i%5==0){
	     c++;
	        System.out.print(c+" ");
	   
		}
	}

}